package com.qipa.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.baomidou.mybatisplus.plugins.Page;
import com.qipa.entity.ResponseLog;
import com.qipa.mapper.ResponseLogMapper;
import com.qipa.model.ResponseLogModel;
import com.qipa.service.IResponseLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ResponseLog 表数据服务层接口实现类
 */
@Service
public class ResponseLogServiceImpl extends SuperServiceImpl<ResponseLogMapper, ResponseLog> implements IResponseLogService {

    @Autowired
    private ResponseLogMapper responseLogMapper;


    @Override
    public Page<ResponseLogModel> getPage(Page<ResponseLogModel> page, ResponseLogModel params) {
        page.setRecords(responseLogMapper.getPage(page, params));
        return page;
    }


    @Override
    public List<ResponseLogModel> getJoinList(ResponseLogModel params) {
        return responseLogMapper.getJoinList(params);
    }


    @Override
    public List<ResponseLogModel> getSimpleList(ResponseLogModel params) {
        return responseLogMapper.getSimpleList(params);
    }

}